package com.punai.externalccb.bo;


import com.punai.externalccb.domain.EcoBqitemmate;

import java.math.BigDecimal;

public class BQItemMateBo {

    private Integer ID;

    private Integer SrcTableID;


    private BigDecimal Quantity;


    private BigDecimal ZzMaterialRate;


    private BigDecimal Rate;


    private Integer BidNodeID;


    private Integer RelationID;


    private Integer RelType;


    private BigDecimal TargetAmout;


    private String TargetAmountExp;


    private Integer PX;


    private Integer Visible;


    private String FeeItemID;


    private BigDecimal Coefficient;


    private Integer IsMix;


    private Integer ResourceID;


    private Integer IsSystem;


    private String BackColor;


    private BigDecimal LaborRate;


    private BigDecimal LaborRateTotal;


    private BigDecimal MaterialRate;


    private BigDecimal MaterialRateTotal;


    private BigDecimal MachineRate;


    private BigDecimal MachineRateTotal;


    private BigDecimal ProfitRate;


    private BigDecimal ProfitRateTotal;


    private BigDecimal OverheadRate;


    private BigDecimal OverheadRateTotal;


    private BigDecimal LevyFeeRate;


    private BigDecimal LevyFeeRateTotal;


    private BigDecimal TaxRate;


    private BigDecimal TaxRateTotal;


    private BigDecimal RateTotal;


    private BigDecimal YsAmount;


    private String YsAmountExp;


    private BigDecimal MateYsTotal;


    private BigDecimal MateYsTotalQd;


    private BigDecimal GljAmount;


    private BigDecimal Sfzc;


    private BigDecimal SavingL;


    private String ZchySpec;


    private BigDecimal CoefficientDE;


    private Integer TempDelete;


    private BigDecimal ParamAmount;


    private Integer CFMateID;


    private String FeeCoefficientID;


    private String Exp;


    private BigDecimal ConsumptionCoef;


    private Integer IsMaSchemeFBMatchingFee;


    private BigDecimal QuantityDE;


    private String ExpDescription;


    private Integer ExpSign;


    private Integer IsZDe;


    private BigDecimal RelateFeeAmount;


    private String Clhl;

    public static EcoBqitemmate convert(BQItemMateBo bo,String proId) {
        EcoBqitemmate out = new EcoBqitemmate();
        out.setOid(bo.getID());
        out.setSrctableid(bo.getSrcTableID());
        out.setQuantity(bo.getQuantity());
        out.setZzmaterialrate(bo.getZzMaterialRate());
        out.setRate(bo.getRate());
        out.setBidnodeid(bo.getBidNodeID());
        out.setRelationid(bo.getRelationID());
        out.setReltype(bo.getRelType());
        out.setTargetamout(bo.getTargetAmout());
        out.setTargetamountexp(bo.getTargetAmountExp());
        out.setPx(bo.getPX());
        out.setVisible(bo.getVisible());
        out.setFeeitemid(bo.getFeeItemID());
        out.setCoefficient(bo.getCoefficient());
        out.setIsmix(bo.getIsMix());
        out.setResourceid(bo.getResourceID());
        out.setIssystem(bo.getIsSystem());
        out.setBackcolor(bo.getBackColor());
        out.setLaborrate(bo.getLaborRate());
        out.setLaborratetotal(bo.getLaborRateTotal());
        out.setMaterialrate(bo.getMaterialRate());
        out.setMaterialratetotal(bo.getMaterialRateTotal());
        out.setMachinerate(bo.getMachineRate());
        out.setMachineratetotal(bo.getMachineRateTotal());
        out.setProfitrate(bo.getProfitRate());
        out.setProfitratetotal(bo.getProfitRateTotal());
        out.setOverheadrate(bo.getOverheadRate());
        out.setOverheadratetotal(bo.getOverheadRateTotal());
        out.setLevyfeerate(bo.getLevyFeeRate());
        out.setLevyfeeratetotal(bo.getLevyFeeRateTotal());
        out.setTaxrate(bo.getTaxRate());
        out.setTaxratetotal(bo.getTaxRateTotal());
        out.setRatetotal(bo.getRateTotal());
        out.setYsamount(bo.getYsAmount());
        out.setYsamountexp(bo.getYsAmountExp());
        out.setMateystotal(bo.getMateYsTotal());
        out.setMateystotalqd(bo.getMateYsTotalQd());
        out.setGljamount(bo.getGljAmount());
        out.setSfzc(bo.getSfzc());
        out.setSavingl(bo.getSavingL());
        out.setZchyspec(bo.getZchySpec());
        out.setCoefficientde(bo.getCoefficientDE());
        out.setTempdelete(bo.getTempDelete());
        out.setParamamount(bo.getParamAmount());
        out.setCfmateid(bo.getCFMateID());
        out.setFeecoefficientid(bo.getFeeCoefficientID());
        out.setExp(bo.getExp());
        out.setConsumptioncoef(bo.getConsumptionCoef());
        out.setIsmaschemefbmatchingfee(bo.getIsMaSchemeFBMatchingFee());
        out.setQuantityde(bo.getQuantityDE());
        out.setExpdescription(bo.getExpDescription());
        out.setExpsign(bo.getExpSign());
        out.setIszde(bo.getIsZDe());
        out.setRelatefeeamount(bo.getRelateFeeAmount());
        out.setClhl(bo.getClhl());
        out.setProId(proId);
        return out;
    }

    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public Integer getSrcTableID() {
        return SrcTableID;
    }

    public void setSrcTableID(Integer srcTableID) {
        SrcTableID = srcTableID;
    }

    public BigDecimal getQuantity() {
        return Quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        Quantity = quantity;
    }

    public BigDecimal getZzMaterialRate() {
        return ZzMaterialRate;
    }

    public void setZzMaterialRate(BigDecimal zzMaterialRate) {
        ZzMaterialRate = zzMaterialRate;
    }

    public BigDecimal getRate() {
        return Rate;
    }

    public void setRate(BigDecimal rate) {
        Rate = rate;
    }

    public Integer getBidNodeID() {
        return BidNodeID;
    }

    public void setBidNodeID(Integer bidNodeID) {
        BidNodeID = bidNodeID;
    }

    public Integer getRelationID() {
        return RelationID;
    }

    public void setRelationID(Integer relationID) {
        RelationID = relationID;
    }

    public Integer getRelType() {
        return RelType;
    }

    public void setRelType(Integer relType) {
        RelType = relType;
    }

    public BigDecimal getTargetAmout() {
        return TargetAmout;
    }

    public void setTargetAmout(BigDecimal targetAmout) {
        TargetAmout = targetAmout;
    }

    public String getTargetAmountExp() {
        return TargetAmountExp;
    }

    public void setTargetAmountExp(String targetAmountExp) {
        TargetAmountExp = targetAmountExp;
    }

    public Integer getPX() {
        return PX;
    }

    public void setPX(Integer PX) {
        this.PX = PX;
    }

    public Integer getVisible() {
        return Visible;
    }

    public void setVisible(Integer visible) {
        Visible = visible;
    }

    public String getFeeItemID() {
        return FeeItemID;
    }

    public void setFeeItemID(String feeItemID) {
        FeeItemID = feeItemID;
    }

    public BigDecimal getCoefficient() {
        return Coefficient;
    }

    public void setCoefficient(BigDecimal coefficient) {
        Coefficient = coefficient;
    }

    public Integer getIsMix() {
        return IsMix;
    }

    public void setIsMix(Integer isMix) {
        IsMix = isMix;
    }

    public Integer getResourceID() {
        return ResourceID;
    }

    public void setResourceID(Integer resourceID) {
        ResourceID = resourceID;
    }

    public Integer getIsSystem() {
        return IsSystem;
    }

    public void setIsSystem(Integer isSystem) {
        IsSystem = isSystem;
    }

    public String getBackColor() {
        return BackColor;
    }

    public void setBackColor(String backColor) {
        BackColor = backColor;
    }

    public BigDecimal getLaborRate() {
        return LaborRate;
    }

    public void setLaborRate(BigDecimal laborRate) {
        LaborRate = laborRate;
    }

    public BigDecimal getLaborRateTotal() {
        return LaborRateTotal;
    }

    public void setLaborRateTotal(BigDecimal laborRateTotal) {
        LaborRateTotal = laborRateTotal;
    }

    public BigDecimal getMaterialRate() {
        return MaterialRate;
    }

    public void setMaterialRate(BigDecimal materialRate) {
        MaterialRate = materialRate;
    }

    public BigDecimal getMaterialRateTotal() {
        return MaterialRateTotal;
    }

    public void setMaterialRateTotal(BigDecimal materialRateTotal) {
        MaterialRateTotal = materialRateTotal;
    }

    public BigDecimal getMachineRate() {
        return MachineRate;
    }

    public void setMachineRate(BigDecimal machineRate) {
        MachineRate = machineRate;
    }

    public BigDecimal getMachineRateTotal() {
        return MachineRateTotal;
    }

    public void setMachineRateTotal(BigDecimal machineRateTotal) {
        MachineRateTotal = machineRateTotal;
    }

    public BigDecimal getProfitRate() {
        return ProfitRate;
    }

    public void setProfitRate(BigDecimal profitRate) {
        ProfitRate = profitRate;
    }

    public BigDecimal getProfitRateTotal() {
        return ProfitRateTotal;
    }

    public void setProfitRateTotal(BigDecimal profitRateTotal) {
        ProfitRateTotal = profitRateTotal;
    }

    public BigDecimal getOverheadRate() {
        return OverheadRate;
    }

    public void setOverheadRate(BigDecimal overheadRate) {
        OverheadRate = overheadRate;
    }

    public BigDecimal getOverheadRateTotal() {
        return OverheadRateTotal;
    }

    public void setOverheadRateTotal(BigDecimal overheadRateTotal) {
        OverheadRateTotal = overheadRateTotal;
    }

    public BigDecimal getLevyFeeRate() {
        return LevyFeeRate;
    }

    public void setLevyFeeRate(BigDecimal levyFeeRate) {
        LevyFeeRate = levyFeeRate;
    }

    public BigDecimal getLevyFeeRateTotal() {
        return LevyFeeRateTotal;
    }

    public void setLevyFeeRateTotal(BigDecimal levyFeeRateTotal) {
        LevyFeeRateTotal = levyFeeRateTotal;
    }

    public BigDecimal getTaxRate() {
        return TaxRate;
    }

    public void setTaxRate(BigDecimal taxRate) {
        TaxRate = taxRate;
    }

    public BigDecimal getTaxRateTotal() {
        return TaxRateTotal;
    }

    public void setTaxRateTotal(BigDecimal taxRateTotal) {
        TaxRateTotal = taxRateTotal;
    }

    public BigDecimal getRateTotal() {
        return RateTotal;
    }

    public void setRateTotal(BigDecimal rateTotal) {
        RateTotal = rateTotal;
    }

    public BigDecimal getYsAmount() {
        return YsAmount;
    }

    public void setYsAmount(BigDecimal ysAmount) {
        YsAmount = ysAmount;
    }

    public String getYsAmountExp() {
        return YsAmountExp;
    }

    public void setYsAmountExp(String ysAmountExp) {
        YsAmountExp = ysAmountExp;
    }

    public BigDecimal getMateYsTotal() {
        return MateYsTotal;
    }

    public void setMateYsTotal(BigDecimal mateYsTotal) {
        MateYsTotal = mateYsTotal;
    }

    public BigDecimal getMateYsTotalQd() {
        return MateYsTotalQd;
    }

    public void setMateYsTotalQd(BigDecimal mateYsTotalQd) {
        MateYsTotalQd = mateYsTotalQd;
    }

    public BigDecimal getGljAmount() {
        return GljAmount;
    }

    public void setGljAmount(BigDecimal gljAmount) {
        GljAmount = gljAmount;
    }

    public BigDecimal getSfzc() {
        return Sfzc;
    }

    public void setSfzc(BigDecimal sfzc) {
        Sfzc = sfzc;
    }

    public BigDecimal getSavingL() {
        return SavingL;
    }

    public void setSavingL(BigDecimal savingL) {
        SavingL = savingL;
    }

    public String getZchySpec() {
        return ZchySpec;
    }

    public void setZchySpec(String zchySpec) {
        ZchySpec = zchySpec;
    }

    public BigDecimal getCoefficientDE() {
        return CoefficientDE;
    }

    public void setCoefficientDE(BigDecimal coefficientDE) {
        CoefficientDE = coefficientDE;
    }

    public Integer getTempDelete() {
        return TempDelete;
    }

    public void setTempDelete(Integer tempDelete) {
        TempDelete = tempDelete;
    }

    public BigDecimal getParamAmount() {
        return ParamAmount;
    }

    public void setParamAmount(BigDecimal paramAmount) {
        ParamAmount = paramAmount;
    }

    public Integer getCFMateID() {
        return CFMateID;
    }

    public void setCFMateID(Integer CFMateID) {
        this.CFMateID = CFMateID;
    }

    public String getFeeCoefficientID() {
        return FeeCoefficientID;
    }

    public void setFeeCoefficientID(String feeCoefficientID) {
        FeeCoefficientID = feeCoefficientID;
    }

    public String getExp() {
        return Exp;
    }

    public void setExp(String exp) {
        Exp = exp;
    }

    public BigDecimal getConsumptionCoef() {
        return ConsumptionCoef;
    }

    public void setConsumptionCoef(BigDecimal consumptionCoef) {
        ConsumptionCoef = consumptionCoef;
    }

    public Integer getIsMaSchemeFBMatchingFee() {
        return IsMaSchemeFBMatchingFee;
    }

    public void setIsMaSchemeFBMatchingFee(Integer isMaSchemeFBMatchingFee) {
        IsMaSchemeFBMatchingFee = isMaSchemeFBMatchingFee;
    }

    public BigDecimal getQuantityDE() {
        return QuantityDE;
    }

    public void setQuantityDE(BigDecimal quantityDE) {
        QuantityDE = quantityDE;
    }

    public String getExpDescription() {
        return ExpDescription;
    }

    public void setExpDescription(String expDescription) {
        ExpDescription = expDescription;
    }

    public Integer getExpSign() {
        return ExpSign;
    }

    public void setExpSign(Integer expSign) {
        ExpSign = expSign;
    }

    public Integer getIsZDe() {
        return IsZDe;
    }

    public void setIsZDe(Integer isZDe) {
        IsZDe = isZDe;
    }

    public BigDecimal getRelateFeeAmount() {
        return RelateFeeAmount;
    }

    public void setRelateFeeAmount(BigDecimal relateFeeAmount) {
        RelateFeeAmount = relateFeeAmount;
    }

    public String getClhl() {
        return Clhl;
    }

    public void setClhl(String clhl) {
        Clhl = clhl;
    }

//    public static BQItemMate convert(BQItemMateBo bo,String proId) {
//        BQItemMate out = new BQItemMate();
//        out.setOid(bo.getID());
//        out.setSrctableid(bo.getSrcTableID());
//        out.setQuantity(bo.getQuantity());
//        out.setZzmaterialrate(bo.getZzMaterialRate());
//        out.setRate(bo.getRate());
//        out.setBidnodeid(bo.getBidNodeID());
//        out.setRelationid(bo.getRelationID());
//        out.setReltype(bo.getRelType());
//        out.setTargetamout(bo.getTargetAmout());
//        out.setTargetamountexp(bo.getTargetAmountExp());
//        out.setPx(bo.getPX());
//        out.setVisible(bo.getVisible());
//        out.setFeeitemid(bo.getFeeItemID());
//        out.setCoefficient(bo.getCoefficient());
//        out.setIsmix(bo.getIsMix());
//        out.setResourceid(bo.getResourceID());
//        out.setIssystem(bo.getIsSystem());
//        out.setBackcolor(bo.getBackColor());
//        out.setLaborrate(bo.getLaborRate());
//        out.setLaborratetotal(bo.getLaborRateTotal());
//        out.setMaterialrate(bo.getMaterialRate());
//        out.setMaterialratetotal(bo.getMaterialRateTotal());
//        out.setMachinerate(bo.getMachineRate());
//        out.setMachineratetotal(bo.getMachineRateTotal());
//        out.setProfitrate(bo.getProfitRate());
//        out.setProfitratetotal(bo.getProfitRateTotal());
//        out.setOverheadrate(bo.getOverheadRate());
//        out.setOverheadratetotal(bo.getOverheadRateTotal());
//        out.setLevyfeerate(bo.getLevyFeeRate());
//        out.setLevyfeeratetotal(bo.getLevyFeeRateTotal());
//        out.setTaxrate(bo.getTaxRate());
//        out.setTaxratetotal(bo.getTaxRateTotal());
//        out.setRatetotal(bo.getRateTotal());
//        out.setYsamount(bo.getYsAmount());
//        out.setYsamountexp(bo.getYsAmountExp());
//        out.setMateystotal(bo.getMateYsTotal());
//        out.setMateystotalqd(bo.getMateYsTotalQd());
//        out.setGljamount(bo.getGljAmount());
//        out.setSfzc(bo.getSfzc());
//        out.setSavingl(bo.getSavingL());
//        out.setZchyspec(bo.getZchySpec());
//        out.setCoefficientde(bo.getCoefficientDE());
//        out.setTempdelete(bo.getTempDelete());
//        out.setParamamount(bo.getParamAmount());
//        out.setCfmateid(bo.getCFMateID());
//        out.setFeecoefficientid(bo.getFeeCoefficientID());
//        out.setExp(bo.getExp());
//        out.setConsumptioncoef(bo.getConsumptionCoef());
//        out.setIsmaschemefbmatchingfee(bo.getIsMaSchemeFBMatchingFee());
//        out.setQuantityde(bo.getQuantityDE());
//        out.setExpdescription(bo.getExpDescription());
//        out.setExpsign(bo.getExpSign());
//        out.setIszde(bo.getIsZDe());
//        out.setRelatefeeamount(bo.getRelateFeeAmount());
//        out.setClhl(bo.getClhl());
//        out.setProId(proId);
//        return out;
//    }

}
